﻿<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title> 广告图片轮播切换</title>
    <link rel="stylesheet" href="css/style.css">
    <link rel="stylesheet" href="../../swiper/swiper-bundle.min.css">
    <script src="../../swiper/swiper-bundle.min.js"></script>
</head>
<body>
<div class="swiper-container adver">
    <div class="swiper-wrapper">
        <div class="swiper-slide"><img src="images/adver01.jpg"></div>
        <div class="swiper-slide"><img src="images/adver02.jpg"></div>
        <div class="swiper-slide"><img src="images/adver03.jpg"></div>
        <div class="swiper-slide"><img src="images/adver04.jpg"></div>
        <div class="swiper-slide"><img src="images/adver05.jpg"></div>
        <div class="swiper-slide"><img src="images/adver06.jpg"></div>
    </div>
    <div class="arrowLeft"><</div>
    <div class="arrowRight">></div>
</div>
<script type="text/javascript">

    var swiper = new Swiper('.swiper-container', {
        loop : true,
        navigation: {
            nextEl: '.arrowRight',
            prevEl: '.arrowLeft',
        },
    });
</script>
</body>
</html>